//
// Created by lymk on 2022/2/26.
//

#ifndef SOFTRENDER_CAMERA_H
#define SOFTRENDER_CAMERA_H
#include "Common.h"

class Camera {
public:
    glm::vec3 Position;
    glm::vec3 Front;
    glm::vec3 Up;
    glm::vec3 Right;

    float Fov;
    float Aspect;

    float Near;
    float Far;

    float Pitch;
    float Yaw;
    Camera();
    glm::mat4 GetViewPortMatrix() const;
    glm::mat4 GetPerspectiveMatrix() const;
};


#endif //SOFTRENDER_CAMERA_H
